//
//  ScrollViewCell.h
//  LoveHealth
//
//  Created by 陈永坤 on 14-9-21.
//  Copyright (c) 2014年 lanou. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HealthNews.h"

typedef void(^pushHealthNewsDetailViewBlock)(HealthNews * news);
@interface ScrollViewCell : UITableViewCell<UIScrollViewDelegate>

//scrollView
@property (nonatomic,retain) UIScrollView * scrollView;

@property (nonatomic,retain) UIImageView * firstImageView;//第一个图片
@property (nonatomic,retain) UIImageView * secondImageView;//第二个图片
@property (nonatomic,retain) UIImageView * thirdImageView;//第三个图
@property (nonatomic,retain) UILabel * firstLabel;
@property (nonatomic,retain) UILabel * secondLabel;
@property (nonatomic,retain) UILabel * thirdLabel;
//定义imageViewArray存储三个imageView
@property (nonatomic,retain)NSArray * imageViewArray;
//定义healthNewsArray存储从controller传回来的数组（HealthNews对象：记录轮播图上的news）
@property (nonatomic,retain)NSArray *  healthNewsArray;
@property (nonatomic,retain) UIPageControl * pageControl;//分页控制
//声明block 推出详情
@property (nonatomic,copy)pushHealthNewsDetailViewBlock  pushDetailViewBock;
////接收数据的model
//@property (nonatomic,retain) HealthNews * news;

- (void)setImageWithArray:(NSArray * )array;

@end